package com.um.jdy.baofu.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * 配置文件配置
 * @author dasheng(大圣)
 * @date 2025/4/5 18:25
 * @Company www.baofu.com
 */

@Setter
@Getter
@ToString
@ConfigurationProperties(prefix="baofu.account")
@Component
public class BFConfig
{
    //商户号 宝付提供给商户的唯一编号
    private String memberid;
    //终端号
    private String terminalid;
    //私钥证书路径
    private String pripath;
    //公钥证书路径
    private String cerpath;
    //密码
    private String pfxpwd;
    //账户调用相关URL
    private String accountUrl;
    //账户调用回调url
    private String accountNoticeUrl;
    //最小提现金额（余额必须大于等于这个值才能提现）
    private BigDecimal minCashout;
}
